<!DOCTYPE html>
<html ng-app="app">
  <head>
    <meta charset="utf-8">
    <meta name="format-detection" content="telephone=no">
    <meta name="fragment" content="!" />
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title></title>

    <link href="css/app.css" rel="stylesheet">
    <!-- cordova script (this will be a 404 during development) -->
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=9c72e3ee80443243eb9d61bebeed1735"></script>
    <script type="text/javascript" src="js/app.js"></script>
    <script src="cordova.js"></script>
    <script>
      function onDeviceReady() {
        ionic.Platform.detect();
        if(window.cordova && window.cordova.plugins.Keyboard) {
          // cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
        }
        if(window.StatusBar) {
          StatusBar.styleDefault();
        }
        // alert(window.plugins.pushNotification);
        // navigator.geolocation.getCurrentPosition(onSuccess, onError);
      }
      document.addEventListener("deviceready", onDeviceReady, false);
    </script>
  </head>

  <body id="App" class="platform-android platform-cordova platform-webview">
    <ion-nav-view></ion-nav-view>
  </body>
</html>
